//
//  HZTC.h
//  HZTC_Stock
//
//  Created by MayerF on 17/3/10.
//  Copyright © 2017年 MayerF. All rights reserved.
//

#ifndef HZTC_h
#define HZTC_h

#define kHZUserKeyChainAccount @"hz_hxart_user_account"
#define kHZUserKeyChainPwd @"hz_hxart_user_pwd"
#define kHZInstallAPPFlag @"hz_hxart_user_installapp"

typedef NS_ENUM(NSInteger, kHZSingleStockState) {
    kHZSingleStock_portrait_State,   //竖屏
    kHZSingleStock_landscape_State,  //横屏
};

/////////////////////////配置字体/////////////////////////
/*全局默认字体*/
#define kHZDefault_320W_Font      [UIFont systemFontOfSize:15]
#define kHZDefault_375W_Font      [UIFont systemFontOfSize:18]
#define kHZDefault_414W_Font      [UIFont systemFontOfSize:20]
#define kHZDefaultFont   (IPHONE_414W? kHZDefault_414W_Font:(IPHONE_375W? kHZDefault_375W_Font:kHZDefault_320W_Font))

/////////////////////////配置字体/////////////////////////

#define kLIGHTGRAYColor kMYHexToRGB(0x333333,1)
#define kREDColor kMYHexToRGB(0xff4040,1)
#define kGREENColor kMYHexToRGB(0x30ae0e,1)
#define kGRAYColor kMYHexToRGB(0x999999,1)
#define kBLACKColor kMYHexToRGB(0x888888,1)
#define kNavColor kMYHexToRGB(0xf14f57, 1)

#define kNavColor kMYHexToRGB(0xf14f57, 1)

#define SYSTEM_VERSION ([[UIDevice currentDevice] systemVersion])
#define IOS11_OR_LATER (SYSTEM_VERSION.floatValue >= 11.0)

#define kDefaultContent  @"--"
#define kHZHuShen        @"BTex"
#define kHZBanKuai       @"板块"
#define kHZChuangYe      @"创业"
#define kHZGangGuTong    @"港股通"
#define kHZGengDuo       @"更多"
#define kHZCodeName      @"名称"
#define kHZCodePrice     @"最新价"
#define kHZZhangDie      @"涨跌"
#define kHZZhangFu       @"涨幅"
#define kHZMaxPrice      @"最高"
#define kHZMinPrice      @"最低"
#define kHZOpenPrice     @"今开"
#define kHZLastPrice     @"昨收"
#define kHZE             @"额"
#define kHZHuanShou      @"换手"

#define kHZChengJiaoLiang    @"成交量"
#define kHZChengJiaoE        @"成交额"
#define kHZHuanShouLV        @"换手率"
#define kHZNeiPan            @"内盘"
#define kHZWaiPan            @"外盘"
#define kHZWeiBi             @"委比"
#define kHZWeiCha            @"委差"
#define kHZLiangBi           @"量比"
#define kHZShiYing           @"市盈"

#define kHZFenShi        @"分时"
#define kHZMingXi        @"明细"
#define kHZDayK          @"日K"
#define kHZWeekK         @"周K"
#define kHZMonthK        @"月K"
#define kHZMinute        @"分钟"
#define kHZMinute5       @"5分钟"
#define kHZMinute15      @"15分钟"
#define kHZMinute30      @"30分钟"
#define kHZMinute60      @"60分钟"

#define kHZZhangFuTop    @"涨幅榜"
#define kHZDieFuTop      @"跌幅榜"
#define kHZHuanShouLVTop @"换手率榜"

#define kHZWuDang        @"五档"
#define kHZPanKou        @"盘口"

#define kHZSell1        @"卖1"
#define kHZSell2        @"卖2"
#define kHZSell3        @"卖3"
#define kHZSell4        @"卖4"
#define kHZSell5        @"卖5"
#define kHZBuy1         @"买1"
#define kHZBuy2         @"买2"
#define kHZBuy3         @"买3"
#define kHZBuy4         @"买4"
#define kHZBuy5         @"买5"

#define kHZCancel       @"取消"
#define kHZPlaceHolder  @"请输入股票代码/首字母"

#define kHZAlertAccount         @"请输入账号"
#define kHZAlertPwd             @"请输入密码"
#define kHZAlertPhone           @"请输入手机号"
#define kHZAlertIdentifyCode    @"请输入验证码"
#define kHZAlertMorePwd         @"请输入确认密码"
#define kHZAlertVipNum          @"请输入会员单位号"
#define kHZAlertReadProtocol    @"请阅读协议"
#define kHZAlertRegisterSuccess @"注册成功"
#define kHZAlertResetPwdSuccess @"重置成功"
#define kHZAlertUpdatePwdSuccess @"修改成功"
#define kHZAlertPwdDiffer       @"密码不一致"
#define kHZAlertInfo            @""
#define kHelpPhone              @""


static NSString* const kTabBarNotification = @"tabBarNotification";
static NSString* const kTabBarTagKey = @"tabBarTag";
static NSString* const kRadioGroupClickNotification = @"radioGroupClickNotification";
static NSString* const kMinCurVolNotification = @"minCurVolNotification";


static NSString *kShowLeftController = @"showLeftController";
static NSString *kHiddenLeftController = @"hiddenLeftController";
static NSString *kGradualHiddenLeftController = @"gradualHiddenLeftController";


#endif /* HZTC_h */
